package com.lemon.mapper.cityRun;

import java.util.List;
import java.util.Map;

import com.lemon.mapper.baseMapper.BaseMapper;
import com.lemon.model.cityRun.CrShopOrders;

public interface CrShopOrdersMapper extends BaseMapper<CrShopOrders> {

	/**
	 * <b>Description:<blockquote>
	 * </blockquote></b>
	 * 
	 * @Title: selectOrderProfitToday
	 * @param order
	 * @return
	 * @author Ran_cc
	 * @date 2018年10月26日
	 */
	List<Map<String , Object>> selectOrderProfitToday(CrShopOrders order) throws Exception;

	/**
	 * <b>Description:<blockquote>
	 * </blockquote></b>
	 * 
	 * @Title: selectOrderProfitOnDate
	 * @param orders
	 * @return
	 * @author Ran_cc
	 * @date 2018年11月5日
	 */
	List<Map<String , Object>> selectOrderProfitOnDate(CrShopOrders orders);

	/**
	 * <b>Description:<blockquote>获得商家首页的统计数据
	 * </blockquote></b>
	 * 
	 * @Title: getShopTodayFirgit
	 * @param orders
	 * @return
	 * @author Ran_cc
	 * @date 2018年11月10日
	 */
	Map<String , Object> getShopTodayFirgit(CrShopOrders orders) throws Exception;

	/**
	 * <b>Description:<blockquote>
	 * </blockquote></b>
	 * 
	 * @Title: updateOrderStatByPayOk
	 * @param or
	 * @author Ran_cc
	 * @return
	 * @date 2018年11月25日
	 */
	int updateOrderStatByPayOk(CrShopOrders or) throws Exception;

}